.class Lcom/glympse/android/glympse/ViewSendGlympse$OnTouchMap;
.super Ljava/lang/Object;
.source "ViewSendGlympse.java"

# interfaces
.implements Landroid/view/View$OnTouchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/android/glympse/ViewSendGlympse;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "OnTouchMap"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/glympse/android/glympse/ViewSendGlympse;


# direct methods
.method constructor <init>(Lcom/glympse/android/glympse/ViewSendGlympse;)V
    .locals 0
    .parameter

    .prologue
    .line 407
    iput-object p1, p0, Lcom/glympse/android/glympse/ViewSendGlympse$OnTouchMap;->this$0:Lcom/glympse/android/glympse/ViewSendGlympse;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 1
    .parameter "oView"
    .parameter "oMotionEvent"

    .prologue
    .line 411
    if-eqz p2, :cond_0

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_0

    .line 413
    sget-object v0, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    iget-object v0, v0, Lcom/glympse/android/glympse/Glympse;->m_oMapControl:Lcom/glympse/android/glympse/MapControl;

    invoke-virtual {v0}, Lcom/glympse/android/glympse/MapControl;->ToggleSatellite()V

    .line 415
    :cond_0
    const/4 v0, 0x0

    return v0
.end method
